package com.woniu.mapper;

import com.woniu.entity.Book;

import java.util.List;

public interface BookMapper {
    /**
     * 查询所有上架书籍
     * @return
     */
    List<Book> queryAll();
    Book queryBookById(Integer id);
}
